# BytePay TPDU Makefile
#
# Copyright (c) 2016 Lucky Byte, Inc.
#
all : tpdu

tpdu : tpdu.o tpdu-proxy.o
	cc -O2 -o $@ `pkg-config --libs gthread-2.0 gio-unix-2.0` $^

.c.o:
	cc -c -o $@ -DG_LOG_DOMAIN=\"TPDU\" `pkg-config --cflags gthread-2.0 gio-unix-2.0` $^

clean:
	rm -f *.o
